home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / qp.arc / QP.DOC < prev   
Text File  |  1988-08-17  |  2KB  |  42 lines

  1. I wrote this program mainly out of frustration with other print programs I
  2. have on my system.  The problem is that I would like to be able to print big
  3. files in the background.  I don't like DOS's PRINT because it is flaky and
  4. occasionally crashes, and it installs itself permanently and takes up memory
  5. even when it isn't needed.  Being a fan of the DESQview multitasking shell,
  6. I thought I could print files in the background on it by simply running some-
  7. thing like this:
  8.  
  9. TYPE file >PRN
  10.  
  11. in a background DOS task.  But no!  Whenever a task starts printing, all other
  12. tasks "freeze", so I can't do anything else with the computer while the one
  13. task is printing.  So being the kind of brain-damaged soul who solves simple
  14. problems with complex solutions, I wrote my own print program which goes
  15. directly to the printer port, bypassing DOS and BIOS.  Thus it works smoothly
  16. all the time, even running in the background under DESQview (or some other
  17. multitasking shell).  It can print one file, or a set of files whose names
  18. are specified in another file.
  19.  
  20. The command format is:
  21.  
  22. QP [options] filename       to print one file, OR
  23.  
  24. QP [options] @filename      to print a set of files whose names are in the
  25.                             specified file (a simple text file with one
  26.                             file name per line).  "@" files can be nested
  27.                             (i.e. a "@" file can specify "@" files inside
  28.                             it).
  29.  
  30. The options are:
  31.  
  32. -f    prints a formfeed after each file.
  33.  
  34. -l#   tells QP which parallel port to print to (i.e. -l2 for LPT2).
  35.       LPT1 is the default.
  36.  
  37. The source code (written in Turbo C) is included so you can laugh at my
  38. (lack of) programming style.  I compiled it using the "tiny" memory model,
  39. then created QP.COM with DOS's EXE2BIN program.
  40.  
  41. --- Rob Epps  (GEnie mail address R.EPPS)
  42.